home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 2: CDPD 1
/
Almathera Ten on Ten - Disc 2: CDPD 1.iso
/
pd
/
076-100
/
094
/
modulatools
/
readme
< prev
next >
Wrap
Text File
|
1995-03-13
|
1KB
|
19 lines
Virtually all of the documentation you will need is in the definition module.
However, I have found one problem that I didn't document, in hopes that it
might one day be eliminated: the routines for creating a MenuStrip inexplicably
eat about 20K of memory (keep reading). I have checked my code several times and
am quite confident that the problem does not lie there. I suspect TDI, but that
is because I hate them, their compiler and ESPECIALLY their editor (not simply
non-functional, but actually anti-functional).
*************************** Yes, there IS hope!!! ***************************
There is a simple and easy solution to THE RIDDLE OF THE MISSING 20K: call
DestroyHeap (in module Storage) at the end of your program. Since I use NEW,
DISPOSE, ALLOCATE and DEALLOCATE for all my structure creations/destructions,
then DestroyHeap will obliterate any stray structures I (or MUCH more likely,
TDI) may have left lying around. I have yet to encounter a situation where this
didn't free all the memory used by a Modula-2 program. See, that wasn't so bad!